//
//  AYSFileHandle.h
//  AiYingShiProject
//
//  Created by lanou on 15/11/4.
//  Copyright (c) 2015年 李晓理. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface AYSFileHandle : NSObject

+ (instancetype)shareIntance;

#pragma mark  ----数据库缓存------
// 数据库存储的路径
- (NSString *)databaseFilepath:(NSString *)databaseName;

// 删除数据库
- (void)removeDatabase;

// 将对象归档
- (NSData *)dataOfArchiverObject:(id)object forKey:(NSString *)key;

// 反归档
- (id)unarchiverObject:(NSData *)data forKey:(NSString *)key;
@end
